﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MengLin.OOP.DesignPattern.Decorator.CarDecorations.Models
{
    public class A6Car : AbstractCar
    {
        public A6Car()
        {
            _cost = 25000;
            _salePrice = 300000;
            _description = "This is A6 car";
        }

        /// <summary>
        /// 得到成本
        /// </summary>
        /// <returns></returns>
        public override int? GetCost()
        {
            return _cost;
        }

        /// <summary>
        /// 得到销售价
        /// </summary>
        /// <returns></returns>
        public override int? GetSalePrice()
        {
            return _salePrice;
        }

        /// <summary>
        /// 得到描述信息
        /// </summary>
        /// <returns></returns>
        public override string GetDescription()
        {
            return _description;
        }
    }
}
